package com.kakarote.authorization.entity.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author z
 * 企业信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("企业信息")
public class CompanyDetails {


    @ApiModelProperty("企业名称")
    private String companyName;


    @ApiModelProperty("登录类型")
    private Integer loginType;

    @ApiModelProperty("类型 1 pc 2 mobile 3 小程序")
    private Integer type;

    @ApiModelProperty("临时token")
    private String tempToken;



    public CompanyDetails(Long companyId, String companyName, Integer loginType, Integer type, String tempToken) {
        this.companyName = companyName;
        this.loginType = loginType;
        this.type = type;
        this.tempToken = tempToken;
    }
}
